using System;
using System.Web;
using System.Xml;

namespace SpiderMaster.AspNet.TradingSystem
{
    internal partial class LinkLoader
    {
        internal partial class Load
        {
            public static string SpiderMasterSupportLink()
            {
                XmlDocument doc = new XmlDocument();
                doc.Load(AppDomain.CurrentDomain.BaseDirectory + @"\App_Data\Email\LinkConfig.xml");

                XmlElement el = doc.DocumentElement;
                XmlNode nodeSipserMasterSupport = el.ChildNodes[3].ChildNodes[0];
                //string str = "<a href='" + nodeTandC.Value + "'>" + nodeTandC.Value + "</a>";
                string str = (el.ChildNodes[3]).InnerXml;
                HttpContext.Current.Cache["SpiderMasterSupportLink"] = str;
                return str;
            }
        }
    }
}